name:                funbot-git-hook
version:             0.1
synopsis:            Git hook which sends events to FunBot.
description:
  This is program to use as a Git post-receive hook, which collects new commits
  and tags made in the Git push, and reports them to a running instance of
  <https://notabug.org/fr33domlover/funbot FunBot>, so that the bot can
  announce the event to IRC.
  .
  See the /README.md/ for instructions.
homepage:            https://notabug.org/fr33domlover/funbot-git-hook/
bug-reports:         https://notabug.org/fr33domlover/funbot-git-hook/issues/
license:             PublicDomain
license-file:        COPYING
author:              fr33domlover
maintainer:          fr33domlover@riseup.net
copyright:           ♡ Copying is an act of love. Please copy, reuse and share.
category:            Network, Web
build-type:          Simple
extra-source-files:  AUTHORS ChangeLog COPYING INSTALL NEWS README.md
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://notabug.org/fr33domlover/funbot-git-hook.git

flag network-uri
  description: Get Network.URI from the network-uri package
  default: True

executable funbot-client-post-receive
  main-is:             Main.hs
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base              >=4.7 && <5
                     , bytestring
                     , directory
                     , filepath
                     , hit               >=0.6.3
                     , funbot-client
                     , funbot-ext-events
                     , template          >=0.2
                     , text
                     , utf8-string       >=1
  if flag(network-uri)
    build-depends:     network-uri       >=2.6
  else
    build-depends:     network           <2.6
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
